object FrmDiscountInfo: TFrmDiscountInfo
  Left = 0
  Top = 0
  Caption = 'Discount Info'
  ClientHeight = 525
  ClientWidth = 1068
  Color = clBtnFace
  Font.Charset = DEFAULT_CHARSET
  Font.Color = clWindowText
  Font.Height = -11
  Font.Name = 'Tahoma'
  Font.Style = []
  OldCreateOrder = False
  Position = poScreenCenter
  OnCreate = FormCreate
  OnDestroy = FormDestroy
  PixelsPerInch = 96
  TextHeight = 13
  object grddt: TDBGridEh
    Left = 0
    Top = 97
    Width = 1068
    Height = 381
    Align = alClient
    DataGrouping.GroupLevels = <>
    DataSource = dsDT
    Flat = False
    FooterColor = clWindow
    FooterFont.Charset = DEFAULT_CHARSET
    FooterFont.Color = clWindowText
    FooterFont.Height = -11
    FooterFont.Name = 'Tahoma'
    FooterFont.Style = []
    FooterRowCount = 1
    IndicatorOptions = [gioShowRowIndicatorEh]
    Options = [dgEditing, dgTitles, dgIndicator, dgColumnResize, dgColLines, dgRowLines, dgTabs, dgConfirmDelete, dgCancelOnExit, dgMultiSelect]
    SumList.Active = True
    TabOrder = 0
    TitleFont.Charset = DEFAULT_CHARSET
    TitleFont.Color = clWindowText
    TitleFont.Height = -11
    TitleFont.Name = 'Tahoma'
    TitleFont.Style = []
    Columns = <
      item
        EditButtons = <>
        FieldName = 'style'
        Footers = <>
        ReadOnly = True
        Title.Caption = #27454#24335
        Width = 99
      end
      item
        EditButtons = <>
        FieldName = 'barcode'
        Footers = <>
        ReadOnly = True
        Width = 74
      end
      item
        EditButtons = <>
        FieldName = 'code'
        Footers = <>
        ReadOnly = True
      end
      item
        EditButtons = <>
        FieldName = 'Description'
        Footers = <>
        ReadOnly = True
        Title.Caption = #25551#36848
        Width = 232
      end
      item
        Color = clGreen
        EditButtons = <>
        FieldName = 'qty'
        Footer.FieldName = 'qty'
        Footer.ValueType = fvtSum
        Footers = <>
        Title.Caption = #29305#21334#25968#37327
      end
      item
        EditButtons = <>
        FieldName = 'price'
        Footers = <>
        ReadOnly = True
        Title.Caption = #21407#20215
      end
      item
        Color = clGreen
        EditButtons = <>
        FieldName = 'discount'
        Footers = <>
        Title.Caption = #25240#25187
      end
      item
        EditButtons = <>
        FieldName = 'discountPrice'
        Footers = <>
        ReadOnly = True
        Title.Caption = #25240#25187#20215
      end
      item
        EditButtons = <>
        FieldName = 'name'
        Footers = <>
        ReadOnly = True
        Title.Caption = #21517#31216
        Width = 231
      end
      item
        EditButtons = <>
        FieldName = 'size'
        Footers = <>
        ReadOnly = True
        Title.Caption = #22823#23567
        Width = 97
      end>
    object RowDetailData: TRowDetailPanelControlEh
    end
  end
  object pnltop: TRzPanel
    Left = 0
    Top = 0
    Width = 1068
    Height = 97
    Align = alTop
    TabOrder = 1
    object lbl1: TLabel
      Left = 8
      Top = 16
      Width = 52
      Height = 13
      Caption = #26041#26696#21517#31216':'
    end
    object lbl2: TLabel
      Left = 204
      Top = 16
      Width = 52
      Height = 13
      Caption = #36866#29992#24215#38138':'
    end
    object lblfrom: TLabel
      Left = 8
      Top = 44
      Width = 52
      Height = 13
      Caption = #24320#22987#26085#26399':'
    end
    object lblto: TLabel
      Left = 204
      Top = 43
      Width = 52
      Height = 13
      Caption = #32467#26463#26085#26399':'
    end
    object edtFormDate: TRzDateTimeEdit
      Left = 62
      Top = 40
      Width = 121
      Height = 21
      EditType = etDate
      TabOrder = 0
    end
    object edtName: TRzEdit
      Left = 62
      Top = 13
      Width = 121
      Height = 21
      TabOrder = 1
    end
    object edtStoreCode: TRzEdit
      Left = 262
      Top = 13
      Width = 123
      Height = 21
      Color = clInfoBk
      ReadOnly = True
      TabOrder = 2
    end
    object edtToDate: TRzDateTimeEdit
      Left = 262
      Top = 40
      Width = 123
      Height = 21
      EditType = etDate
      TabOrder = 3
    end
    object btnAddGoods: TButton
      Left = 8
      Top = 67
      Width = 121
      Height = 25
      Caption = #28155#21152#20135#21697'...'
      TabOrder = 4
      OnClick = btnAddGoodsClick
    end
    object btnAddPlan: TButton
      Left = 262
      Top = 67
      Width = 123
      Height = 25
      Caption = #28155#21152#25240#19978#25240'...'
      TabOrder = 5
      OnClick = btnAddPlanClick
    end
    object grdPlan: TDBGridEh
      Left = 406
      Top = 2
      Width = 660
      Height = 93
      Align = alRight
      Anchors = [akLeft, akTop, akRight, akBottom]
      DataGrouping.GroupLevels = <>
      DataSource = dsPlan
      Flat = False
      FooterColor = clWindow
      FooterFont.Charset = DEFAULT_CHARSET
      FooterFont.Color = clWindowText
      FooterFont.Height = -11
      FooterFont.Name = 'Tahoma'
      FooterFont.Style = []
      IndicatorOptions = [gioShowRowIndicatorEh]
      PopupMenu = pmPlan
      ReadOnly = True
      TabOrder = 6
      TitleFont.Charset = DEFAULT_CHARSET
      TitleFont.Color = clWindowText
      TitleFont.Height = -11
      TitleFont.Name = 'Tahoma'
      TitleFont.Style = []
      Columns = <
        item
          EditButtons = <>
          FieldName = 'plan_name'
          Footers = <>
          Title.Caption = #25240#19978#25240#26041#26696
          Width = 452
        end>
      object RowDetailData: TRowDetailPanelControlEh
      end
    end
    object btnDelete: TButton
      Left = 135
      Top = 67
      Width = 121
      Height = 25
      Caption = #21024#38500#36873#25321#20135#21697
      TabOrder = 7
      OnClick = btnDeleteClick
    end
  end
  object pnl1: TRzPanel
    Left = 0
    Top = 478
    Width = 1068
    Height = 47
    Align = alBottom
    TabOrder = 2
    DesignSize = (
      1066
      45)
    object btnAdd: TButton
      Left = 878
      Top = -1
      Width = 75
      Height = 25
      Anchors = [akRight, akBottom]
      Caption = #20445#23384
      TabOrder = 0
      OnClick = btnAddClick
    end
    object btnCancel: TButton
      Left = 959
      Top = -1
      Width = 75
      Height = 25
      Anchors = [akRight, akBottom]
      Caption = #21462#28040
      TabOrder = 1
      OnClick = btnCancelClick
    end
    object btnExport: TButton
      Left = 8
      Top = 11
      Width = 75
      Height = 25
      Caption = #23548#20986'Excel'
      TabOrder = 2
      OnClick = btnExportClick
    end
    object btnImportExcel: TButton
      Left = 128
      Top = 11
      Width = 75
      Height = 25
      Caption = #23548#20837#25968#25454
      TabOrder = 3
      OnClick = btnImportExcelClick
    end
  end
  object pmPlan: TPopupMenu
    Left = 576
    Top = 32
    object removePlanRecord: TMenuItem
      Caption = #21024#38500
      OnClick = removePlanRecordClick
    end
  end
  object dsPlan: TDataSource
    DataSet = cdsPlan
    Left = 664
    Top = 56
  end
  object cdsPlan: TClientDataSet
    Aggregates = <>
    FieldDefs = <
      item
        Name = 'plan_type'
        DataType = ftString
        Size = 2
      end
      item
        Name = 'plan_name'
        DataType = ftString
        Size = 50
      end
      item
        Name = 'total'
        DataType = ftInteger
      end
      item
        Name = 'doublediscount'
        DataType = ftFloat
      end>
    IndexDefs = <>
    Params = <>
    StoreDefs = True
    Left = 624
    Top = 56
  end
  object dsDT: TDataSource
    DataSet = cdsDT
    Left = 600
    Top = 360
  end
  object cdsDT: TClientDataSet
    Aggregates = <>
    FieldDefs = <
      item
        Name = 'style'
        DataType = ftString
        Size = 20
      end
      item
        Name = 'barcode'
        DataType = ftString
        Size = 20
      end
      item
        Name = 'code'
        DataType = ftString
        Size = 50
      end
      item
        Name = 'Description'
        DataType = ftString
        Size = 255
      end
      item
        Name = 'price'
        DataType = ftFloat
      end
      item
        Name = 'discount'
        DataType = ftFloat
      end
      item
        Name = 'discountPrice'
        DataType = ftFloat
      end
      item
        Name = 'name'
        DataType = ftString
        Size = 50
      end
      item
        Name = 'size'
        DataType = ftString
        Size = 15
      end
      item
        Name = 'goodsid'
        DataType = ftInteger
      end
      item
        Name = 'qty'
        DataType = ftInteger
      end>
    IndexDefs = <>
    Params = <>
    StoreDefs = True
    BeforeDelete = cdsDTBeforeDelete
    Left = 560
    Top = 360
  end
end
